package cn.iocoder.yudao.module.api.vlog;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;
import cn.iocoder.yudao.framework.common.exception.enums.ServiceErrorCodeRange;

/**
 * 错误码类型
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2024/03/15
 */
public interface ErrorCodeConstants extends ServiceErrorCodeRange {

    ErrorCode INFO_NOT_EXISTS = new ErrorCode(1_010_000_010, "短视频不存在");
    ErrorCode INFO_NOT_PUBLIC = new ErrorCode(1_010_000_011, "短视频未公开");
    ErrorCode INFO_UNSHELVE_FORBIDDEN = new ErrorCode(1_010_000_012, "该短视频还未上架，不能下架");
    ErrorCode INFO_SHELVE_FORBIDDEN_PENDING = new ErrorCode(1_010_000_013, "该短视频还未通过审核，不能上架");
    ErrorCode INFO_SHELVE_FORBIDDEN_ENABLED = new ErrorCode(1_010_000_014, "该短视频已经上架过了");

    ErrorCode REPORT_NOT_EXISTS = new ErrorCode(1_010_000_020, "举报不存在");
    ErrorCode REPORT_DUPLICATE = new ErrorCode(1_010_000_021, "已经举报过了");

    ErrorCode COMMENT_NOT_EXISTS = new ErrorCode(1_010_000_040, "视频评论不存在");
    ErrorCode COMMENT_PARENT_NOT_EXISTS = new ErrorCode(1_010_000_041, "回复的评论不属于该视频");

    ErrorCode COMMENT_LIKED_NOT_EXISTS = new ErrorCode(1_010_000_050, "视频评论点赞不存在");

    ErrorCode LIKED_NOT_EXISTS = new ErrorCode(1_010_000_060, "视频点赞不存在");

    ErrorCode FAVORITE_NOT_EXISTS = new ErrorCode(1_010_000_070, "视频收藏不存在");

    ErrorCode PRODUCT_NOT_EXISTS = new ErrorCode(1_010_000_080, "视频带货不存在");

    ErrorCode BROWSE_HISTORY_NOT_EXISTS = new ErrorCode(1_010_000_090, "视频浏览记录不存在");

    ErrorCode STATISTICS_NOT_EXISTS = new ErrorCode(1_010_000_100, "视频统计不存在");

}
